﻿/* 
 * author: www.cnblogs.com/luminji
 * date  : 2011/12/09
 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Luminji.ExamWeb.Core.Domain.Model;

namespace Luminji.ExamWeb.Core.Domain
{
    public interface IPaperRepository
    {
        IList<Paper> GetPapersBySubjectCode(string subjectCode);
        int GetPapersNumsBySubjectAndChildrenCode(string subjectCode);
        IList<Paper> GetPapersBySubjectAndChildrenCodeInPage(string subjectCode, int pageNum);
        IList<Paper> GetPapersBySubjectAndChildrenCode(string subjectCode);
        Paper GetPaperByCode(string paperCode);

        Paper GetPaperWithDetailDetailByPaperCode(string paperCode);
    }
}
